﻿using System;
using System.ComponentModel;
using DevExpress.Xpo;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    public class TopWlbItem : BaseObject
    {
        //begin
        public TopWlbItem(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _Id;
        [Size(SizeAttribute.Unlimited)]
        public string Id
        {
            get
            {
                return _Id;
            }
            set
            {
                SetPropertyValue("Id", ref _Id, value);
            }
        }
        private string _UserId;
        [Size(SizeAttribute.Unlimited)]
        public string UserId
        {
            get
            {
                return _UserId;
            }
            set
            {
                SetPropertyValue("UserId", ref _UserId, value);
            }
        }
        private string _UserNick;
        [Size(SizeAttribute.Unlimited)]
        public string UserNick
        {
            get
            {
                return _UserNick;
            }
            set
            {
                SetPropertyValue("UserNick", ref _UserNick, value);
            }
        }
        private string _Name;
        [Size(SizeAttribute.Unlimited)]
        public string Name
        {
            get
            {
                return _Name;
            }
            set
            {
                SetPropertyValue("Name", ref _Name, value);
            }
        }
        private string _Title;
        [Size(SizeAttribute.Unlimited)]
        public string Title
        {
            get
            {
                return _Title;
            }
            set
            {
                SetPropertyValue("Title", ref _Title, value);
            }
        }
        private string _ItemCode;
        [Size(SizeAttribute.Unlimited)]
        public string ItemCode
        {
            get
            {
                return _ItemCode;
            }
            set
            {
                SetPropertyValue("ItemCode", ref _ItemCode, value);
            }
        }
        private bool _IsSku;
        public bool IsSku
        {
            get
            {
                return _IsSku;
            }
            set
            {
                SetPropertyValue("IsSku", ref _IsSku, value);
            }
        }
        private string _Flag;
        [Size(SizeAttribute.Unlimited)]
        public string Flag
        {
            get
            {
                return _Flag;
            }
            set
            {
                SetPropertyValue("Flag", ref _Flag, value);
            }
        }
        private string _Type;
        [Size(SizeAttribute.Unlimited)]
        public string Type
        {
            get
            {
                return _Type;
            }
            set
            {
                SetPropertyValue("Type", ref _Type, value);
            }
        }
        private string _Remark;
        [Size(SizeAttribute.Unlimited)]
        public string Remark
        {
            get
            {
                return _Remark;
            }
            set
            {
                SetPropertyValue("Remark", ref _Remark, value);
            }
        }
        private string _ParentId;
        [Size(SizeAttribute.Unlimited)]
        public string ParentId
        {
            get
            {
                return _ParentId;
            }
            set
            {
                SetPropertyValue("ParentId", ref _ParentId, value);
            }
        }
        private string _Status;
        [Size(SizeAttribute.Unlimited)]
        public string Status
        {
            get
            {
                return _Status;
            }
            set
            {
                SetPropertyValue("Status", ref _Status, value);
            }
        }
        private long _PublishVersion;
        public long PublishVersion
        {
            get
            {
                return _PublishVersion;
            }
            set
            {
                SetPropertyValue("PublishVersion", ref _PublishVersion, value);
            }
        }
        private string _Creator;
        [Size(SizeAttribute.Unlimited)]
        public string Creator
        {
            get
            {
                return _Creator;
            }
            set
            {
                SetPropertyValue("Creator", ref _Creator, value);
            }
        }
        private string _BrandId;
        [Size(SizeAttribute.Unlimited)]
        public string BrandId
        {
            get
            {
                return _BrandId;
            }
            set
            {
                SetPropertyValue("BrandId", ref _BrandId, value);
            }
        }
        private DateTime _GmtCreate;
        public DateTime GmtCreate
        {
            get
            {
                return _GmtCreate;
            }
            set
            {
                SetPropertyValue("GmtCreate", ref _GmtCreate, value);
            }
        }
        private string _LastModifier;
        [Size(SizeAttribute.Unlimited)]
        public string LastModifier
        {
            get
            {
                return _LastModifier;
            }
            set
            {
                SetPropertyValue("LastModifier", ref _LastModifier, value);
            }
        }
        private DateTime _GmtModified;
        public DateTime GmtModified
        {
            get
            {
                return _GmtModified;
            }
            set
            {
                SetPropertyValue("GmtModified", ref _GmtModified, value);
            }
        }
        private string _Properties;
        [Size(SizeAttribute.Unlimited)]
        public string Properties
        {
            get
            {
                return _Properties;
            }
            set
            {
                SetPropertyValue("Properties", ref _Properties, value);
            }
        }
        private bool _IsFriable;
        public bool IsFriable
        {
            get
            {
                return _IsFriable;
            }
            set
            {
                SetPropertyValue("IsFriable", ref _IsFriable, value);
            }
        }
        private bool _IsDangerous;
        public bool IsDangerous
        {
            get
            {
                return _IsDangerous;
            }
            set
            {
                SetPropertyValue("IsDangerous", ref _IsDangerous, value);
            }
        }
        private string _Color;
        [Size(SizeAttribute.Unlimited)]
        public string Color
        {
            get
            {
                return _Color;
            }
            set
            {
                SetPropertyValue("Color", ref _Color, value);
            }
        }
        private long _Weight;
        public long Weight
        {
            get
            {
                return _Weight;
            }
            set
            {
                SetPropertyValue("Weight", ref _Weight, value);
            }
        }
        private long _Length;
        public long Length
        {
            get
            {
                return _Length;
            }
            set
            {
                SetPropertyValue("Length", ref _Length, value);
            }
        }
        private string _Width;
        [Size(SizeAttribute.Unlimited)]
        public string Width
        {
            get
            {
                return _Width;
            }
            set
            {
                SetPropertyValue("Width", ref _Width, value);
            }
        }
        private long _Height;
        public long Height
        {
            get
            {
                return _Height;
            }
            set
            {
                SetPropertyValue("Height", ref _Height, value);
            }
        }
        private long _Volume;
        public long Volume
        {
            get
            {
                return _Volume;
            }
            set
            {
                SetPropertyValue("Volume", ref _Volume, value);
            }
        }
        private string _GoodsCat;
        [Size(SizeAttribute.Unlimited)]
        public string GoodsCat
        {
            get
            {
                return _GoodsCat;
            }
            set
            {
                SetPropertyValue("GoodsCat", ref _GoodsCat, value);
            }
        }
        private string _PricingCat;
        [Size(SizeAttribute.Unlimited)]
        public string PricingCat
        {
            get
            {
                return _PricingCat;
            }
            set
            {
                SetPropertyValue("PricingCat", ref _PricingCat, value);
            }
        }
        private string _PackageMaterial;
        [Size(SizeAttribute.Unlimited)]
        public string PackageMaterial
        {
            get
            {
                return _PackageMaterial;
            }
            set
            {
                SetPropertyValue("PackageMaterial", ref _PackageMaterial, value);
            }
        }
        private long _Price;
        public long Price
        {
            get
            {
                return _Price;
            }
            set
            {
                SetPropertyValue("Price", ref _Price, value);
            }
        }
        //end
    }
}
